package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 简答题库对象 t_shortanswer
 * 
 * @author ruoyi
 * @date 2020-05-09
 */
public class TShortanswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 简答题id */
    private Integer shortanswerId;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Integer userId;
    /** 科目名称 */
    @Excel(name = "科目名称")
    private String courseName;

    /** 科目id */
    @Excel(name = "科目id")
    private Integer courseId;

    /** 题目内容 */
    @Excel(name = "题目内容")
    private String shortanswerQuestion;

    /** 参考答案 */
    @Excel(name = "参考答案")
    private String shortanswerAnswer;

    /** 答案分析 */
    @Excel(name = "答案分析")
    private String shortanswerAnalyze;

    /** 题目分值 */
    @Excel(name = "题目分值")
    private Double shortanswerScore;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public void setShortanswerId(Integer shortanswerId)
    {
        this.shortanswerId = shortanswerId;
    }

    public Integer getShortanswerId() 
    {
        return shortanswerId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setShortanswerQuestion(String shortanswerQuestion) 
    {
        this.shortanswerQuestion = shortanswerQuestion;
    }

    public String getShortanswerQuestion() 
    {
        return shortanswerQuestion;
    }
    public void setShortanswerAnswer(String shortanswerAnswer) 
    {
        this.shortanswerAnswer = shortanswerAnswer;
    }

    public String getShortanswerAnswer() 
    {
        return shortanswerAnswer;
    }
    public void setShortanswerAnalyze(String shortanswerAnalyze) 
    {
        this.shortanswerAnalyze = shortanswerAnalyze;
    }

    public String getShortanswerAnalyze() 
    {
        return shortanswerAnalyze;
    }
    public void setShortanswerScore(Double shortanswerScore) 
    {
        this.shortanswerScore = shortanswerScore;
    }

    public Double getShortanswerScore() 
    {
        return shortanswerScore;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shortanswerId", getShortanswerId())
            .append("userId", getUserId())
                .append("courseName", getCourseName())
            .append("shortanswerQuestion", getShortanswerQuestion())
            .append("shortanswerAnswer", getShortanswerAnswer())
            .append("shortanswerAnalyze", getShortanswerAnalyze())
            .append("shortanswerScore", getShortanswerScore())
            .append("createTime", getCreateTime())
                .append("courseId", getCourseId())
            .toString();
    }
}
